﻿using EmoneyWeiXinEntity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EmoneyWeiXinDAL;

namespace EmoneyWeiXinBLL
{
    public class PanHouTJGBLL
    {
        PanHouTJGDAL dal = new PanHouTJGDAL();
        public int Insert(PanHouTJGEntity entity)
        {
            return dal.Insert(entity);
        }

        public List<PanHouTJGEntity> GetList()
        {
            return dal.GetListByPage(1);
        }
        //获取最后一个设置的推荐股
        public PanHouTJGEntity GetLastSet()
        {
            return dal.GetLastSet();
        }

        public int Delete(int id)
        {
            return dal.Delete(id);
        }

        public int SetStartUsing(int id)
        {
            return dal.SetStartUsing(id);
        }
    }
}
